home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
archive
/
userbox
/
publicdomain
/
edspell.lha
/
EdSpell
/
Rexx
/
UnLoadDictionary.epxx
< prev
Wrap
Text File
|
1996-07-28
|
2KB
|
41 lines
/************************************************************************/
/* */
/* File : LookUpWord.epxx */
/* Author : Martin Reddy */
/* Date : 28/8/92 */
/* Purpose : An ARexx script used to control the text editor EdWord */
/* Note : This is part of the Spell Checking facility of EdWord */
/* Function : This script checks to see if the ispell dictionary is */
/* currently in memory. If it is, then the user is given the */
/* option of unloading it from memory... this will return */
/* all of the memory which the dictionary is using, but will */
/* mean that the next spell check will require the dictionary*/
/* to be loaded back into memory. */
/* */
/************************************************************************/
/*-------------- Nothing To Change Below Here -----------*/
HOST = ADDRESS()
ADDRESS VALUE HOST
OPTIONS RESULTS
/********** Check for the ISpell process *********/
IF ~SHOW( PORTS, 'IRexxSpell' ) THEN DO
Inform "The Dictionary Is Not|Currently In Memory!"
EXIT
END
/**************** Kill The Dictionary *****************/
Request "Do You Really Want To Unload|The Dictionary From Memory?"
IF RC ~= 0 THEN DO
ADDRESS "IRexxSpell" EXIT
Alert "Dictionary Removed From Memory"
END